home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / Pedestal / Source / Includes / PedBuffer.hh < prev    next >
Encoding:
Text File  |  2000-06-24  |  420 b   |  28 lines

  1. /*    ============
  2.  *    PedBuffer.hh
  3.  *    ============
  4.  *    
  5.  *    Implemented by PedBuffer.cc
  6.  */
  7.  
  8. #pragma once
  9.  
  10. #include "PedObject.hh"
  11.  
  12. class PedBuffer : public PedObject {
  13. public:
  14.     PedBuffer(long inSize);
  15.     PedBuffer(long inSize, char *inData);
  16.     virtual ~PedBuffer();
  17.     
  18.     virtual long Length();
  19.     virtual long Size();
  20.     virtual char *Ptr();
  21.     virtual void SetLength(long inLen);
  22.     
  23. protected:
  24.     long mLen;
  25.     long mSize;
  26.     char *mPtr;
  27. };
  28.